package io.finer.erp.jeecg.bas.dto;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 商城订单产品明细表
 * @Author: jeecg-boot
 * @Date:   2020-08-28
 * @Version: V1.0
 */
@ApiModel(value="zrk_shoporder对象", description="商城订单信息表")
@Data
@TableName("zrk_order_product")
public class ZrkOrderProductDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
	/**商城订单号*/
	@ApiModelProperty(value = "商城订单号")
	private java.lang.String orderNo;
	/**订单号*/
	@ApiModelProperty(value = "订单号")
	@Dict(dictTable = "zrk_shoporder", dicText = "order_no", dicCode = "id")
	private java.lang.String orderId;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
	@ApiModelProperty(value = "产品名称")
	private java.lang.String productName;
	/**产品数量*/
	@Excel(name = "产品数量", width = 15)
	@ApiModelProperty(value = "产品数量")
	private java.math.BigDecimal productCount;
	/**产品规格*/
	@Excel(name = "产品规格", width = 15)
	@ApiModelProperty(value = "产品规格")
	private java.lang.String productSpecs;
	
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
	@ApiModelProperty(value = "物料编号")
	@Dict(dictTable = "bas_material_category", dicText = "code", dicCode = "id")
	private java.lang.String materialId;
	
	/**生产数量*/
	@Excel(name = "生产数量", width = 15)
	@ApiModelProperty(value = "生产数量")
	private java.math.BigDecimal realProduceCount;
	
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
	@ApiModelProperty(value = "计量单位")
	@Dict(dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
	private java.lang.String unitId;
	
	/**是否与订单相符*/
	@Excel(name = "是否与订单相符", width = 15)
	@ApiModelProperty(value = "是否与订单相符")
	@Dict(dicCode = "yn")
	private java.lang.Integer orderFit;
	
	/**商城订单ID*/
	@Excel(name = "商城订单ID", width = 15)
	@ApiModelProperty(value = "商城订单ID")
	private java.lang.String omsOrderId;
	
	/**商城skuId*/
	@Excel(name = "商城skuId", width = 15)
	@ApiModelProperty(value = "商城skuId")
	private java.lang.String omsSkuId;
	/**底纸*/
	@Excel(name = "底纸", width = 15)
	@ApiModelProperty(value = "底纸")
	@Dict(dictTable = "bas_material_category", dicText = "name", dicCode = "id")
	private java.lang.String dzId;
	/**面纸*/
	@Excel(name = "面纸", width = 15)
	@ApiModelProperty(value = "面纸")
	@Dict(dictTable = "bas_material_category", dicText = "name", dicCode = "id")
	private java.lang.String mzId;
	/**胶水*/
	@Excel(name = "胶水", width = 15)
	@ApiModelProperty(value = "胶水")
	@Dict(dictTable = "bas_material_category", dicText = "name", dicCode = "id")
	private java.lang.String jsId;
	
	/**生产规格信息*/
	@Excel(name = "生产规格信息", width = 15)
	@ApiModelProperty(value = "生产规格信息")
	private java.lang.String produceInfo;
	
	/**库存*/
	@Excel(name = "库存", width = 15)
    @ApiModelProperty(value = "库存")
    private java.math.BigDecimal stock;
	
	/**原材料库存*/
	@Excel(name = "原材料库存", width = 15)
    @ApiModelProperty(value = "原材料库存")
    private java.lang.String materialStock;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
	private java.math.BigDecimal unitPrice;
	/**总价格*/
	@Excel(name = "总价格", width = 15)
    @ApiModelProperty(value = "总价格")
	private java.math.BigDecimal totalPrice;
	/**配方*/
	@Excel(name = "配方", width = 15)
    @ApiModelProperty(value = "配方")
	@Dict(dictTable = "bas_product_formula", dicText = "pf_name", dicCode = "id")
	private java.lang.String formularId;
	/**产品类型*/
	@Excel(name = "产品类型", width = 15)
    @ApiModelProperty(value = "产品类型")
	private java.lang.String productType;
	
	private java.lang.String formulaName;
	
	private java.math.BigDecimal qzTotal;
	@Dict(dicCode = "product_order_type")
	private java.lang.String proType;
	
	@Dict(dictTable = "zz_device_type", dicText = "device_tpye_name", dicCode = "id")
	private java.lang.String processId;
	
	private java.lang.Integer count;
	private java.lang.Integer customerCount;
}
